package com.pronosticnews.server.services.images;

import java.util.Collection;
import java.util.List;

import com.pronosticnews.server.domain.model.Image;

import fr.ysa.persistence.requetes.ConfigRequetes;
import fr.ysa.services.ServiceException;

public interface ImageService {

	Integer compter(ConfigRequetes config) throws ServiceException;

	Image modifier(Image obj) throws ServiceException;

	Collection<Image> sauvegarder(Collection<Image> entities)
			throws ServiceException;

	Image sauvegarder(Image image) throws ServiceException;

	void supprimer(Collection<Image> entities) throws ServiceException;

	void supprimer(Image image) throws ServiceException;

	List<Image> trouver(ConfigRequetes config) throws ServiceException;

}
